package com.changyinBus.common.core.domain.entity;

import com.changyinBus.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.Date;

@Data
public class SysWxInfo extends BaseEntity {
    private String openid;
    //微信名称
    private String nickname;
    //性别 0 男
    private int sex;
    //微信头像
    private String headImgUrl;
    //银行openid
    private String state;
    //已抽奖次数
    private Integer num;
    //生成时间
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
